package net.xuele.learn.concurrent;

/**
 * @Author: yubo
 * @date: 15:18 2020/4/20
 * @Description: 类描述
 */

public interface FutureListener {
    /**
     *
     * @param t
     */
    void onSuccess(Object t);

    /**
     *
     * @param e
     */
    void onFailure(Exception e);
}
